package com.xyoto.community.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.web.multipart.MultipartFile;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author coderFu
 * @create 2021/11/14
 */
@Data
public class AddAnonymousUserDTO {

    @ApiModelProperty("匿名名称")
    @NotBlank(message = "匿名名称不为空")
    private String anonymousName;

    @ApiModelProperty("匿名用户头像")
    @NotNull(message = "匿名头像不能为空")
    private MultipartFile multipartFile;
}
